package com.geek.util;

import java.net.URL;

public class PathUtil {
	public static String getClassPath() {
		URL url = ClassLoader.getSystemResource("");
		String urlStr = url.toString();
		return urlStr.substring("file:/".length(), urlStr.length());
	}

	public static void main(String[] args) {
		System.out.println(getClassPath());
	}
}
